package Test;

import java.util.Scanner;

public class Test03 {
    public static void main(String[] args) {
        /**
         * 键盘录入月份值，输出对应的季节
         * 春 3.4.5
         * 夏 6.7.8
         * 秋 9.10.11
         * 冬 12.1.2
         * */

        Scanner s = new Scanner(System.in);
        System.out.println("请您输入月份");
        int mouth = s.nextInt();

        if((mouth ==3 || mouth == 4) || mouth == 5){
            System.out.println(mouth + "是春季");
        }else if((mouth ==6 || mouth == 7) || mouth == 8){
            System.out.println(mouth + "是夏季");
        }else if((mouth ==9 || mouth == 10) || mouth == 11){
            System.out.println(mouth + "是秋季");
        }else{
            System.out.println(mouth + "是冬季");
        }
    }
}
